<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        div{
            width: 200px;
            height: 200px;
            background-color: gold;
            margin: 0 auto;

            box-shadow: -10px 10px 10px 10px red, -20px 20px 20px 20px green;
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>